Optimal. Leaf size=81 \[ -\frac{\left (b^2-2 a c\right ) \tanh ^{-1}\left (\frac{b+2 c x^4}{\sqrt{b^2-4 a c}}\right )}{4 c^2 \sqrt{b^2-4 a c}}-\frac{b \log \left (a+b x^4+c x^8\right )}{8 c^2}+\frac{x^4}{4 c} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0837916, antiderivative size = 81, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 6, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.333, Rules used = {1357, 703, 634, 618, 206, 628} \[ -\frac{\left (b^2-2 a c\right ) \tanh ^{-1}\left (\frac{b+2 c x^4}{\sqrt{b^2-4 a c}}\right )}{4 c^2 \sqrt{b^2-4 a c}}-\frac{b \log \left (a+b x^4+c x^8\right )}{8 c^2}+\frac{x^4}{4 c} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1357
Rule 703
Rule 634
Rule 618
Rule 206
Rule 628
Rubi steps
\begin{align*} \int \frac{x^{11}}{a+b x^4+c x^8} \, dx &=\frac{1}{4} \operatorname{Subst}\left (\int \frac{x^2}{a+b x+c x^2} \, dx,x,x^4\right )\\ &=\frac{x^4}{4 c}+\frac{\operatorname{Subst}\left (\int \frac{-a-b x}{a+b x+c x^2} \, dx,x,x^4\right )}{4 c}\\ &=\frac{x^4}{4 c}-\frac{b \operatorname{Subst}\left (\int \frac{b+2 c x}{a+b x+c x^2} \, dx,x,x^4\right )}{8 c^2}+\frac{\left (b^2-2 a c\right ) \operatorname{Subst}\left (\int \frac{1}{a+b x+c x^2} \, dx,x,x^4\right )}{8 c^2}\\ &=\frac{x^4}{4 c}-\frac{b \log \left (a+b x^4+c x^8\right )}{8 c^2}-\frac{\left (b^2-2 a c\right ) \operatorname{Subst}\left (\int \frac{1}{b^2-4 a c-x^2} \, dx,x,b+2 c x^4\right )}{4 c^2}\\ &=\frac{x^4}{4 c}-\frac{\left (b^2-2 a c\right ) \tanh ^{-1}\left (\frac{b+2 c x^4}{\sqrt{b^2-4 a c}}\right )}{4 c^2 \sqrt{b^2-4 a c}}-\frac{b \log \left (a+b x^4+c x^8\right )}{8 c^2}\\ \end{align*}
Mathematica [A] time = 0.05244, size = 78, normalized size = 0.96 \[ \frac{\frac{2 \left (b^2-2 a c\right ) \tan ^{-1}\left (\frac{b+2 c x^4}{\sqrt{4 a c-b^2}}\right )}{\sqrt{4 a c-b^2}}-b \log \left (a+b x^4+c x^8\right )+2 c x^4}{8 c^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.004, size = 111, normalized size = 1.4 \begin{align*}{\frac{{x}^{4}}{4\,c}}-{\frac{b\ln \left ( c{x}^{8}+b{x}^{4}+a \right ) }{8\,{c}^{2}}}-{\frac{a}{2\,c}\arctan \left ({(2\,c{x}^{4}+b){\frac{1}{\sqrt{4\,ac-{b}^{2}}}}} \right ){\frac{1}{\sqrt{4\,ac-{b}^{2}}}}}+{\frac{{b}^{2}}{4\,{c}^{2}}\arctan \left ({(2\,c{x}^{4}+b){\frac{1}{\sqrt{4\,ac-{b}^{2}}}}} \right ){\frac{1}{\sqrt{4\,ac-{b}^{2}}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.90724, size = 556, normalized size = 6.86 \begin{align*} \left [\frac{2 \,{\left (b^{2} c - 4 \, a c^{2}\right )} x^{4} -{\left (b^{2} - 2 \, a c\right )} \sqrt{b^{2} - 4 \, a c} \log \left (\frac{2 \, c^{2} x^{8} + 2 \, b c x^{4} + b^{2} - 2 \, a c +{\left (2 \, c x^{4} + b\right )} \sqrt{b^{2} - 4 \, a c}}{c x^{8} + b x^{4} + a}\right ) -{\left (b^{3} - 4 \, a b c\right )} \log \left (c x^{8} + b x^{4} + a\right )}{8 \,{\left (b^{2} c^{2} - 4 \, a c^{3}\right )}}, \frac{2 \,{\left (b^{2} c - 4 \, a c^{2}\right )} x^{4} - 2 \,{\left (b^{2} - 2 \, a c\right )} \sqrt{-b^{2} + 4 \, a c} \arctan \left (-\frac{{\left (2 \, c x^{4} + b\right )} \sqrt{-b^{2} + 4 \, a c}}{b^{2} - 4 \, a c}\right ) -{\left (b^{3} - 4 \, a b c\right )} \log \left (c x^{8} + b x^{4} + a\right )}{8 \,{\left (b^{2} c^{2} - 4 \, a c^{3}\right )}}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] time = 2.90928, size = 316, normalized size = 3.9 \begin{align*} \left (- \frac{b}{8 c^{2}} - \frac{\sqrt{- 4 a c + b^{2}} \left (2 a c - b^{2}\right )}{8 c^{2} \left (4 a c - b^{2}\right )}\right ) \log{\left (x^{4} + \frac{- a b - 16 a c^{2} \left (- \frac{b}{8 c^{2}} - \frac{\sqrt{- 4 a c + b^{2}} \left (2 a c - b^{2}\right )}{8 c^{2} \left (4 a c - b^{2}\right )}\right ) + 4 b^{2} c \left (- \frac{b}{8 c^{2}} - \frac{\sqrt{- 4 a c + b^{2}} \left (2 a c - b^{2}\right )}{8 c^{2} \left (4 a c - b^{2}\right )}\right )}{2 a c - b^{2}} \right )} + \left (- \frac{b}{8 c^{2}} + \frac{\sqrt{- 4 a c + b^{2}} \left (2 a c - b^{2}\right )}{8 c^{2} \left (4 a c - b^{2}\right )}\right ) \log{\left (x^{4} + \frac{- a b - 16 a c^{2} \left (- \frac{b}{8 c^{2}} + \frac{\sqrt{- 4 a c + b^{2}} \left (2 a c - b^{2}\right )}{8 c^{2} \left (4 a c - b^{2}\right )}\right ) + 4 b^{2} c \left (- \frac{b}{8 c^{2}} + \frac{\sqrt{- 4 a c + b^{2}} \left (2 a c - b^{2}\right )}{8 c^{2} \left (4 a c - b^{2}\right )}\right )}{2 a c - b^{2}} \right )} + \frac{x^{4}}{4 c} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 7.44507, size = 101, normalized size = 1.25 \begin{align*} \frac{x^{4}}{4 \, c} - \frac{b \log \left (c x^{8} + b x^{4} + a\right )}{8 \, c^{2}} + \frac{{\left (b^{2} - 2 \, a c\right )} \arctan \left (\frac{2 \, c x^{4} + b}{\sqrt{-b^{2} + 4 \, a c}}\right )}{4 \, \sqrt{-b^{2} + 4 \, a c} c^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]